package com.jsu.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Component;

import com.sun.org.apache.bcel.internal.generic.NEW;
@Component
public class FoundDetail {

	@Override
	public String toString() {
		return "FoundDetail [found=" + found + ", foundMessages="
				+ foundMessages + "]";
	}

	private Found found;
	
	private List<FoundMessage> foundMessages = new ArrayList<FoundMessage>();
    
    public Found getFound() {
		return found;
	}

	public void setFound(Found found) {
		this.found = found;
	}

	public void addFoundMessage(FoundMessage foundMessage){
		this.foundMessages.add(foundMessage);
	}

	public List<FoundMessage> getFoundMessages() {
		return foundMessages;
	}

	public void setFoundMessages(List<FoundMessage> foundMessages) {
		this.foundMessages = foundMessages;
	}
    
    
}
